package com.ctg.itrdc.sysmgr.portal.api.dto;

import java.sql.Timestamp;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import com.ctg.itrdc.pasp.core.DTO;

public abstract class BaseDTO extends DTO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Timestamp updateDate;
	private Timestamp statusDate;
	private Long createStaff;
	private Long updateStaff;
	private Timestamp createDate;
	
	public Timestamp getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}
	public Timestamp getStatusDate() {
		return statusDate;
	}
	public void setStatusDate(Timestamp statusDate) {
		this.statusDate = statusDate;
	}
	public Long getCreateStaff() {
		return createStaff;
	}
	public void setCreateStaff(Long createStaff) {
		this.createStaff = createStaff;
	}
	public Long getUpdateStaff() {
		return updateStaff;
	}
	public void setUpdateStaff(Long updateStaff) {
		this.updateStaff = updateStaff;
	}
	public Timestamp getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}
	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}
	
	
}
